/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package generics.getThisTrick;

/**
 *
 * @author Bryce.Alcock
 */
public abstract class SelfRef <T extends SelfRef<T>>
{

    private SomeOtherType<T> ref;
    protected abstract T getThis();
    //public  void aMethod() { ref.m( getThis() ); } // fine

}
